package com.zking.entity;


import java.sql.Date;

/**
 * @author Tony
 * 订单表对应的实体类
 */
public class Order {
	private int eo_id;//订单编号
	private String eo_user_id;//用户ID
	private String eo_user_name;//用户名
	private String eo_user_address;//用户地址
	private Date eo_create_time;//创建时间
	private double eo_cost;//金额
	private int eo_status;//状态1下单2审核通过3配货4配送中5收货并确认
	private int eo_type;//付款方式1货到付款 网上支付
	
	public Order() {
		super();
	}
	
	public Order(String eoUserId, String eoUserName,
			String eoUserAddress, double eoCost,
			int eoStatus, int eoType) {
		super();
		eo_user_id = eoUserId;
		eo_user_name = eoUserName;
		eo_user_address = eoUserAddress;
		eo_cost = eoCost;
		eo_status = eoStatus;
		eo_type = eoType;
	}
	
	public Order(int eoId, String eoUserName,String eoUserAddress,double eoCost, int eoStatus) {
		super();
		eo_id = eoId;
		eo_user_name = eoUserName;
		eo_user_address = eoUserAddress;
		eo_cost = eoCost;
		eo_status = eoStatus;
	}
	
	public Order(int eoId, String eoUserName,String eoUserAddress,
			double eoCost, Date eoCreateTime, int eoStatus) {
		super();
		eo_id = eoId;
		eo_user_name = eoUserName;
		eo_user_address = eoUserAddress;
		eo_cost = eoCost;
		eo_create_time = eoCreateTime;
		eo_status = eoStatus;
	}
	
	
	
	public Order(int eoId, String eoUserId, String eoUserName,
			String eoUserAddress, Date eoCreateTime, double eoCost,
			int eoStatus, int eoType) {
		super();
		eo_id = eoId;
		eo_user_id = eoUserId;
		eo_user_name = eoUserName;
		eo_user_address = eoUserAddress;
		eo_create_time = eoCreateTime;
		eo_cost = eoCost;
		eo_status = eoStatus;
		eo_type = eoType;
	}
	public int getEo_id() {
		return eo_id;
	}
	public void setEo_id(int eoId) {
		eo_id = eoId;
	}
	public String getEo_user_id() {
		return eo_user_id;
	}
	public void setEo_user_id(String eoUserId) {
		eo_user_id = eoUserId;
	}
	public String getEo_user_name() {
		return eo_user_name;
	}
	public void setEo_user_name(String eoUserName) {
		eo_user_name = eoUserName;
	}
	public String getEo_user_address() {
		return eo_user_address;
	}
	public void setEo_user_address(String eoUserAddress) {
		eo_user_address = eoUserAddress;
	}
	public Date getEo_create_time() {
		return eo_create_time;
	}
	public void setEo_create_time(Date eoCreateTime) {
		eo_create_time = eoCreateTime;
	}
	public double getEo_cost() {
		return eo_cost;
	}
	public void setEo_cost(double eoCost) {
		eo_cost = eoCost;
	}
	public int getEo_status() {
		return eo_status;
	}
	public void setEo_status(int eoStatus) {
		eo_status = eoStatus;
	}
	public int getEo_type() {
		return eo_type;
	}
	public void setEo_type(int eoType) {
		eo_type = eoType;
	}
	
	public String toString() {
		return eo_id+"\t"+eo_user_name;
	}
	
}
